﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage/MasterPage.master" AutoEventWireup="true" CodeFile="ChangePassword.aspx.cs" Inherits="UserManage_ChangePassword" Title="修改用户密码" culture="auto" meta:resourcekey="PageResource1" uiculture="auto" %>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="title">
        &nbsp;<asp:Label ID="lblPageType" runat="server" Text="修改用户密码" 
            meta:resourcekey="lblPageTypeResource1"></asp:Label></div>
    <table class="add_table" cellspacing="1" cellpadding="3" align="center">
        <tr>
            <td align="right">
               <asp:Label ID="lblLoginID" runat="server" Text="登录名：" 
                    meta:resourcekey="lblLoginIDResource1"></asp:Label>
            </td>
            <td>
                <asp:Label  ID="txtLoginID" runat="server" Width="172px" 
                    meta:resourcekey="txtLoginIDResource1" ></asp:Label>               
            </td>
        </tr>  
              <tr>
            <td align="right">
                <label for="password">
                    <b style="color: Red">*</b></label><asp:Label ID="lblOldPassword" 
                    runat="server" Text="旧密码：" meta:resourcekey="lblOldPasswordResource1"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtOldPassword" TextMode="Password" runat="server" 
                    Width="172px" ValidationGroup="user" 
                    meta:resourcekey="txtOldPasswordResource1" ></asp:TextBox>
                <asp:RequiredFieldValidator
                        ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtOldPassword"
                        ErrorMessage="*" ValidationGroup="user" 
                    meta:resourcekey="RequiredFieldValidator3Resource1"></asp:RequiredFieldValidator>
              
            </td>
        </tr>      
        
         <tr>
            <td align="right">
                <label for="password">
                    <b style="color: Red">*</b></label><asp:Label ID="lblNewPassword" 
                    runat="server" Text="新密码：" meta:resourcekey="lblNewPasswordResource1"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtNewPassword" TextMode="Password" runat="server" 
                    Width="172px" ValidationGroup="user" 
                    meta:resourcekey="txtNewPasswordResource1" ></asp:TextBox>
                <asp:RequiredFieldValidator
                        ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtNewPassword"
                        ErrorMessage="*" ValidationGroup="user" 
                    meta:resourcekey="RequiredFieldValidator1Resource1"></asp:RequiredFieldValidator>
              
            </td>
        </tr>    
         <tr>
            <td align="right">
                <label for="confimpassword">
                    <b style="color: Red">*</b></label><asp:Label ID="lblConfimPassword" 
                    runat="server" Text="确认密码：" meta:resourcekey="lblConfimPasswordResource1"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtConfimPassword" TextMode="Password" runat="server" 
                    Width="172px" ValidationGroup="user" 
                    meta:resourcekey="txtConfimPasswordResource1" ></asp:TextBox>
               <asp:RequiredFieldValidator
                        ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtConfimPassword"
                        ErrorMessage="*" ValidationGroup="user" 
                    meta:resourcekey="RequiredFieldValidator2Resource1"></asp:RequiredFieldValidator>
               <asp:CompareValidator
                            ID="CompareValidator1" runat="server" 
                    ControlToCompare="txtNewPassword" ControlToValidate="txtConfimPassword"
                            ErrorMessage="输入新密码不一致,请重新输入!" ValidationGroup="user" 
                    meta:resourcekey="CompareValidator1Resource1"></asp:CompareValidator>
              
            </td>
        </tr>    
       
    </table>
    <table class="add_table" cellspacing="1" cellpadding="3">
        <tr>
            <td align="center">
                <asp:Button ID="btnSave" runat="server" Text="修改" OnClick="btnSave_Click" 
                    CssClass="btn" meta:resourcekey="btnSaveResource1"  />
               &nbsp; <asp:Button ID="btnReset" runat="server" Text="返回" CssClass="btn" 
                    OnClick="btnReset_Click" meta:resourcekey="btnResetResource1" />

            </td>
        </tr>
    </table>      
</asp:Content>



